package gui;

import javax.swing.JPanel;

import java.awt.Component;
import java.awt.FlowLayout;
import javax.swing.JLabel;
import javax.swing.ImageIcon;

public class ControlsPanel extends JPanel {

	/**
	 * Create the panel.
	 */
	public ControlsPanel(Component parent) {
		this.setBounds(parent.getX(), parent.getY(), parent.getWidth(), 50);
		setLayout(new FlowLayout(FlowLayout.CENTER, 5, 5));
		JLabel lblNewLabel = new JLabel("New label");
		lblNewLabel.setIcon(new ImageIcon(ControlsPanel.class.getResource("/resources/fullscreen.png")));
		add(lblNewLabel);

	}

}
